#ifndef EMAIL_ARG_H_H
#define EMAIL_ARG_H_H

#include <string>
#include <vector>

class EmailArg
{
public:
	enum ArgPos{EmailAddress = 0, Username, Password, PopServer, SmtpServer};
	enum {ArgCount = 5};
	EmailArg();


	void setArgs(const std::vector<std::string>& args);
	void getArgs(std::vector<std::string>& args) const;

	void getArgsFromFile(const std::string& fileName = "EmailArg.conf");
	void saveArgsToFile(const std::string& fileName = "EmailArg.conf") const ;
private:
	std::string m_EmailAddress;
	std::string m_Username;
	std::string m_Password;
	std::string m_PopServer;
	std::string m_SmtpServer;
};
#endif